<?php
/* 
 * ********* CVS HEADER ********* 
 * 
 * $RCSfile: admmodliste.php,v $ 
 * $Date: 2005/08/29 15:17:58 $ 
 * $Revision: 1.2 $ 
 * 
 * ********* CVS HEADER ********* 
 */
include("environnement/$session[environnement]/header.php");
?>
 <center>LISTE DES MODULES INSTALLES</center><br><br>
 <table>
 <tr>
 	<td>id</td>
 	<td>Titre</td>
 	<td>Date d'installation</td>
 	<td>&nbsp;</td>
 </tr>
 <?php
 	$query="SELECT * FROM rportal_installation";
	$result=rportalrequete($query) or die ("ERREUR 0024");
	$class="class=\"liste_impaire\"";
	while($row=rportalligne($result))
	{
		echo "<tr  $class><td>$row[id]</td>\n";
		echo "<td>$row[titre]</td>\n";
		echo "<td>$row[date]</td>\n";
		echo "<td> <a href=\"?op=admmodupgrade&upgrade_id_product=$row[id]\">upgrade</a>\n";
		if($row[uninstall]==1)
         echo " | desinstaller</td></tr>\n";
		if($class!="class=\"liste_impaire\"")
		{
			$class="class=\"liste_impaire\"";
		}else{
			$class="class=\"liste_paire\"";
		}
	}
 ?>
 
 </table>

<?php
include("environnement/$session[environnement]/footer.php");
?>